Extension point elasticSearchClient
In component org.nuxeo.elasticsearch.ElasticSearchComponent
Documentation
Extension point to define how to access the Elasticsearch cluster.
For the TransportClient protocol:
<elasticSeachClient class="org.nuxeo.elasticsearch.client.ESTransportClientFactory">
<option name="addressList">localhost:9300</option>
<option name="clusterName">elasticsearch</option>
<option name="clientTransportSniff">false</option>
<option name="clientTransportIgnoreClusterName">false</option>
<option name="clientTransportPingTimeout">5s</option>
<option name="clientTransportNodesSamplerInterval">5s</option>
</elasticSeachClient>
For a Rest client:
<elasticSeachClient class="org.nuxeo.elasticsearch.client.ESRestClientFactory">
<option name="addressList">localhost:9200</option>
</elasticSeachClient>
Contribution Descriptors
- Class: org.nuxeo.elasticsearch.config.ElasticSearchClientConfig
Existing Contributions
Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.
-
<extension point="elasticSearchClient" target="org.nuxeo.elasticsearch.ElasticSearchComponent"> <elasticSearchClient class="org.nuxeo.elasticsearch.client.ESTransportClientFactory"> <option name="addressList"/> <option name="clusterName">nuxeoCluster</option> <option name="clientTransportSniff">false</option> <option name="clientTransportIgnoreClusterName">false</option> <option name="clientTransportPingTimeout">5s</option> <option name="clientTransportNodesSamplerInterval">5s</option> </elasticSearchClient> </extension>